GtkRange: Make drag gesture less agressive
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2015 22:37:15 +0000 (18:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2015 22:37:15 +0000 (18:37 -0400)
commit27dabaefa6f6edee78e05e6a76fccf20be2c7679
treee825daddce6d7ffade2436da3af514755521a032
parentb4a88c7287c0e63ba3bbd2a105e2341d7f796add
GtkRange: Make drag gesture less agressive

Moving the mouse while pressing one of the steppers was making
the slider jump to the end, unexpectedly. This was caused by the
drag gesture kicking in when it shouldn't. Fix this by making
all drag gesture signal handlers only do something if we are in
a drag thats started on the slider.

https://bugzilla.gnome.org/show_bug.cgi?id=751050
gtk/gtkrange.c